﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： ask.cs
// 项目名称：买车网
// 创建时间：2014/7/20
// 负责人：Wup
// ===================================================================
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ComponentModel;
namespace Weixin.Entity.ChinaTax
{
	/// <summary>
	///ask数据实体
	/// </summary>
	[Serializable]
	[DataContract]
	public class askEntity
	{
		#region 变量定义
		///<summary>
		///
		///</summary>
		private int _iD;
		///<summary>
		///
		///</summary>
		private string _title = String.Empty;
		///<summary>
		///
		///</summary>
		private string _content = String.Empty;
		///<summary>
		///
		///</summary>
		private int _state;
		///<summary>
		///
		///</summary>
		private DateTime _utime;
		///<summary>
		///
		///</summary>
		private DateTime _dtime;
		///<summary>
		///
		///</summary>
		private string _tag = String.Empty;
		///<summary>
		///1微信展示
		///</summary>
		private int _isHot;
		///<summary>
		///
		///</summary>
		private string _username = String.Empty;
		///<summary>
		///
		///</summary>
		private int _flag;
		///<summary>
		///
		///</summary>
		private string _realName = String.Empty;
		///<summary>
		///
		///</summary>
		private string _mobile = String.Empty;
		///<summary>
		///
		///</summary>
		private string _email = String.Empty;
		///<summary>
		///1网站2微信
		///</summary>
		private int _sourceId;
		///<summary>
		///
		///</summary>
		private int _hits;
		#endregion
		
		#region 构造函数

		///<summary>
		///
		///</summary>
		public askEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public askEntity
		(
			int iD,
			string title,
			string content,
			int state,
			DateTime utime,
			DateTime dtime,
			string tag,
			int isHot,
			string username,
			int flag,
			string realName,
			string mobile,
			string email,
			int sourceId,
			int hits
		)
		{
			_iD       = iD;
			_title    = title;
			_content  = content;
			_state    = state;
			_utime    = utime;
			_dtime    = dtime;
			_tag      = tag;
			_isHot    = isHot;
			_username = username;
			_flag     = flag;
			_realName = realName;
			_mobile   = mobile;
			_email    = email;
			_sourceId = sourceId;
			_hits     = hits;
			
		}
		#endregion
		
		#region 公共属性

		
		///<summary>
		///
		///</summary>
		[DataMember]
		public int ID
		{
			get {return _iD;}
			set {_iD = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string title
		{
			get {return _title;}
			set {_title = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string content
		{
			get {return _content;}
			set {_content = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int state
		{
			get {return _state;}
			set {_state = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime utime
		{
			get {return _utime;}
			set {_utime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime dtime
		{
			get {return _dtime;}
			set {_dtime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string tag
		{
			get {return _tag;}
			set {_tag = value;}
		}

		///<summary>
		///1微信展示
		///</summary>
		[DataMember]
		public int isHot
		{
			get {return _isHot;}
			set {_isHot = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string username
		{
			get {return _username;}
			set {_username = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int flag
		{
			get {return _flag;}
			set {_flag = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string RealName
		{
			get {return _realName;}
			set {_realName = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Mobile
		{
			get {return _mobile;}
			set {_mobile = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Email
		{
			get {return _email;}
			set {_email = value;}
		}

		///<summary>
		///1网站2微信
		///</summary>
		[DataMember]
		public int SourceId
		{
			get {return _sourceId;}
			set {_sourceId = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int hits
		{
			get {return _hits;}
			set {_hits = value;}
		}
	
		#endregion
		
	}
}
